package com.example.dirviesystem.repository;

import com.example.dirviesystem.entity.StudentInfo;
import com.example.dirviesystem.entity.StudentMessage;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface StudentMessageRep extends JpaRepository<StudentMessage, Long> {

    List<StudentMessage> findByStudentIdAndLook(Long id, boolean b);
}